Follow the steps here:
https://www.reddit.com/r/starsector/comments/rvrn1c/comment/hr77htq/?utm_source=share&utm_medium=web2x&context=3

The download links from the post above got taken down. New links:

Note: all are the same JRE 8 v271.
- Windows .zip (71 MB) https://github.com/wispborne/JRE/releases/download/jre8-271/jre8-271-Windows.zip
- Windows .7z (48 MB, requires 7zip or equivalent) https://github.com/wispborne/JRE/releases/download/jre8-271/jre8-271-Windows.7z
- Linux: https://github.com/wispborne/JRE/releases/download/jre8-271/jre8-271-Linux-x64.tar.gz
- MacOS: https://github.com/wispborne/JRE/releases/download/jre8-271/jre8-271-MacOS.zip